Anillo 3 - Original

An interactive fiction by Mel Hython (2009) - the Inform 7 source text

Home page

Contents
Previous
Next

Complete text
Chapter 6 - Objetos relacionados con la grasa para antorchas

Section 1 - El arbolillo de la goma

A arbolillo de la goma is a NSE container. It is in Pantano7. It is fixed in place.
The printed name of arbolillo is "pequeño arbolillo".
The description of arbolillo is "Un pequeño arbolillo con un peculiar olor y glóbulos amarillentos pegados a su corteza. Parece un arbolillo de las praderas o del desierto, triste por encontrarse en este espantoso pantano.".

Some globulos are partdecoration. They are part of the arbolillo. The description of globulos is "Bultos, como grandes lágrimas que el arbolillo ha derramado, espesas y amarillentas como oro, algunas de ellas aún blandas, trémulas al tacto.".

Understand "globulo" or "lagrimas" as globulos when globulos is visible.
Understand "resina" as globulos when resina is not visible and globulos is visible.

Understand "busca [ramas] [a thing]" as searching when arbolillo is visible.

Instead of taking globulos (this is the takglob rule):
    if resina is not the location and resina is not visible and resina is not part of anything:
        move resina to location;
        try silently taking resina;
        say "Coges un poco de resina del arbolillo.";
    otherwise:
        say "Ya tienes bastante resina de este árbol.".

The takglob rule is listed before the actpart rule in the instead rules.

Before of waving or pushing arbolillo:
    say "Lo sacudes un poco, pero no logras nada con ello.";
    stop the action.

Instead of searching arbolillo:
    say "Lo único extraño que hay en el arbolillo son unos glóbulos amarillentos.";
    try examining globulos.